<%@ page contentType="text/html;charset=UTF-8"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path;
%> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>系统- 后台管理</title>
<link href="<%=basePath%>/css/default.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<%=basePath%>/js/main.js"></script>
<script type="text/javascript" src="<%=basePath%>/js/datepicker/WdatePicker.js"></script>
</head>
<body>
<div style="padding: 2px;">
	<form id="orderEditForm"  name="orderEditForm" action="<%=basePath%>/saveOrder.do" method="post" target="consoleFrame" >
	<table width="500" border="1" cellpadding="1" cellspacing="0" bordercolor="#eeeeee">
		<input name="order.orderId" type="hidden" value="${order.orderId}"/>
		<tr>
			<td height=25>用户编号：</td>
			<td><input name="order.userId" type="text" class="input1"
				id="order.userId" value="${order.userId}" size="30" verify="NotNull"/></td>
		</tr>
		<tr>
			<td height=25>产品编号：</td>
			<td><input name="order.productId" type="text" class="input1"
				id="order.productId" value="${order.productId}" size="50" /></td>
		</tr>
		<tr>
			<td height=25>订购份数：</td>
			<td><input name="order.quantity" type="text" class="input1"
				id="order.quantity" value="${order.quantity}" size="50" /></td>
		</tr>
		<tr>
			<td height=25>订单类型：</td>
			<td><input name="order.orderType" type="text" class="input1"
				id="order.orderType" value="${order.orderType}" size="50" /></td>
		</tr>
		<tr>
			<td height=25>订单金额：</td>
			<td><input name="order.orderPrice" type="text" class="input1"
				id="order.orderPrice" value="${order.orderPrice}" size="50" /></td>
		</tr>
		<tr>
			<td height=25>游玩时间：</td>
			<td><input name="order.visitTime" type="text" class="input1"
				id="order.visitTime" value="${order.visitTime}" size="50" onclick="WdatePicker()"/></td>
		</tr>
		<tr>
			<td height=25>结束时间：</td>
			<td><input name="order.visitEndTime" type="text" class="input1"
				id="order.visitEndTime" value="${order.visitEndTime}" size="50" onclick="WdatePicker()"/></td>
		</tr>
		<tr>
			<td height=25>联系人姓名：</td>
			<td><input name="order.contactName" type="text" class="input1"
				id="order.contactName" value="${order.contactName}" size="50" /></td>
		</tr>
		<tr>
			<td height=25>联系人手机号：</td>
			<td><input name="order.contactPhone" type="text" class="input1"
				id="order.contactPhone" value="${order.contactPhone}" size="50" /></td>
		</tr>
		<tr>
			<td height=25>门市价：</td>
			<td><input name="order.sellPrice" type="text" class="input1"
				id="order.sellPrice" value="${order.sellPrice}" size="50" /></td>
		</tr>
		<tr>
			<td height=25>结算价：</td>
			<td><input name="order.settlementPrice" type="text" class="input1"
				id="order.settlementPrice" value="${order.settlementPrice}" size="50" /></td>
		</tr>
		<tr>
			<td height=25>订单备注：</td>
			<td><textarea id="order.remark" name="order.remark" style="width: 250px; height: 60px">${order.remark}</textarea></td>
		</tr>
		<tr align="center">
			<td colspan="2">
			 <input type="submit" onclick="" value="保存"/>
			 <input type='button' onclick="parent.closeWin();" value="取消"/>
			</td>
		</tr>
	</table>

	</form>
	</div>
	</body>
</html>
